package vip.sweet.biz.modular.order.params;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import vip.sweet.biz.modular.order.enums.OrderStatusType;

import java.sql.Date;

/**
 * @author ASUS
 * @Date 2025/10/5 22:53
 * @Descripition
 */
@Data
@Schema(description = "业务逻辑订单添加参数")
public class BizOrdersAddParams {
    @Schema(description = "用户ID")
    @NotBlank(message = "用户ID不能为空")
    private String userId;
    @Schema(description = "订单总金额")
    private Double totalAmount;
    @Schema(description = "订单状态")
    private String status;
    @Schema(description = "支付时间")
    private Date paidAt;
    @Schema(description = "发货时间")
    private Date shippedAt;
    @Schema(description = "完成时间")
    private Date deliveredAt;
    @Schema(description = "收货地址ID")
    private String shippingAddressId;
}
